<!-- 骨架屏 -->
<script setup lang="ts"></script>

<template>
  <view is="components/XtxSwiper">
    <view class="carousel XtxSwiper--carousel">
      <swiper :autoplay="false" :circular="true" :interval="3000" :current="0">
        <swiper-item
          style="
            position: absolute;
            width: 100%;
            height: 100%;
            transform: translate(0%, 0px) translateZ(0px);
          "
        >
          <navigator class="navigator XtxSwiper--navigator" hover-class="none">
            <image :lazy-load="true" class="image XtxSwiper--image sk-image"></image>
          </navigator>
        </swiper-item>
      </swiper>
      <view class="indicator XtxSwiper--indicator">
        <text class="dot XtxSwiper--dot active XtxSwiper--active"></text>
        <text class="dot XtxSwiper--dot"></text>
        <text class="dot XtxSwiper--dot"></text>
        <text class="dot XtxSwiper--dot"></text>
        <text class="dot XtxSwiper--dot"></text>
      </view>
    </view>
  </view>
  <view is="pages/index/components/CategoryPanel">
    <view class="category CategoryPanel--category">
      <navigator
        class="category-item CategoryPanel--category-item"
        hover-class="none"
        open-type="switchTab"
      >
        <view class="container CategoryPanel--container">
          <image :lazy-load="true" class="icon CategoryPanel--icon sk-image"></image>
          <text class="text CategoryPanel--text sk-transparent sk-text-14-2857-270 sk-text"
            >居家
          </text>
        </view>
      </navigator>
      <navigator
        class="category-item CategoryPanel--category-item"
        hover-class="none"
        open-type="switchTab"
      >
        <view class="container CategoryPanel--container">
          <image :lazy-load="true" class="icon CategoryPanel--icon sk-image"></image>
          <text class="text CategoryPanel--text sk-transparent sk-text-14-2857-641 sk-text"
            >锦鲤
          </text>
        </view>
      </navigator>
      <navigator
        class="category-item CategoryPanel--category-item"
        hover-class="none"
        open-type="switchTab"
      >
        <view class="container CategoryPanel--container">
          <image :lazy-load="true" class="icon CategoryPanel--icon sk-image"></image>
          <text class="text CategoryPanel--text sk-transparent sk-text-14-2857-606 sk-text"
            >服饰
          </text>
        </view>
      </navigator>
      <navigator
        class="category-item CategoryPanel--category-item"
        hover-class="none"
        open-type="switchTab"
      >
        <view class="container CategoryPanel--container">
          <image :lazy-load="true" class="icon CategoryPanel--icon sk-image"></image>
          <text class="text CategoryPanel--text sk-transparent sk-text-14-2857-814 sk-text"
            >母婴
          </text>
        </view>
      </navigator>
      <navigator
        class="category-item CategoryPanel--category-item"
        hover-class="none"
        open-type="switchTab"
      >
        <view class="container CategoryPanel--container">
          <image :lazy-load="true" class="icon CategoryPanel--icon sk-image"></image>
          <text class="text CategoryPanel--text sk-transparent sk-text-14-2857-851 sk-text"
            >个护
          </text>
        </view>
      </navigator>
      <navigator
        class="category-item CategoryPanel--category-item"
        hover-class="none"
        open-type="switchTab"
      >
        <view class="container CategoryPanel--container">
          <image :lazy-load="true" class="icon CategoryPanel--icon sk-image"></image>
          <text class="text CategoryPanel--text sk-transparent sk-text-14-2857-43 sk-text"
            >严选
          </text>
        </view>
      </navigator>
      <navigator
        class="category-item CategoryPanel--category-item"
        hover-class="none"
        open-type="switchTab"
      >
        <view class="container CategoryPanel--container">
          <image :lazy-load="true" class="icon CategoryPanel--icon sk-image"></image>
          <text class="text CategoryPanel--text sk-transparent sk-text-14-2857-127 sk-text"
            >数码
          </text>
        </view>
      </navigator>
      <navigator
        class="category-item CategoryPanel--category-item"
        hover-class="none"
        open-type="switchTab"
      >
        <view class="container CategoryPanel--container">
          <image :lazy-load="true" class="icon CategoryPanel--icon sk-image"></image>
          <text class="text CategoryPanel--text sk-transparent sk-text-14-2857-378 sk-text"
            >运动
          </text>
        </view>
      </navigator>
      <navigator
        class="category-item CategoryPanel--category-item"
        hover-class="none"
        open-type="switchTab"
      >
        <view class="container CategoryPanel--container">
          <image :lazy-load="true" class="icon CategoryPanel--icon sk-image"></image>
          <text class="text CategoryPanel--text sk-transparent sk-text-14-2857-329 sk-text"
            >杂项
          </text>
        </view>
      </navigator>
      <navigator
        class="category-item CategoryPanel--category-item"
        hover-class="none"
        open-type="switchTab"
      >
        <view class="container CategoryPanel--container">
          <image :lazy-load="true" class="icon CategoryPanel--icon sk-image"></image>
          <text class="text CategoryPanel--text sk-transparent sk-text-14-2857-445 sk-text"
            >品牌
          </text>
        </view>
      </navigator>
    </view>
  </view>
  <view is="pages/index/components/HotPanel">
    <view class="panel HotPanel--panel hot HotPanel--hot">
      <view class="item HotPanel--item">
        <view class="title HotPanel--title">
          <text class="title-text HotPanel--title-text sk-transparent sk-text-14-2857-62 sk-text"
            >特惠推荐
          </text>
          <text class="title-desc HotPanel--title-desc sk-transparent sk-text-14-2857-921 sk-text"
            >精选全攻略
          </text>
        </view>
        <navigator class="cards HotPanel--cards" hover-class="none">
          <image :lazy-load="true" class="image HotPanel--image sk-image"></image>
          <image :lazy-load="true" class="image HotPanel--image sk-image"></image>
        </navigator>
      </view>
      <view class="item HotPanel--item">
        <view class="title HotPanel--title">
          <text class="title-text HotPanel--title-text sk-transparent sk-text-14-2857-860 sk-text"
            >爆款推荐
          </text>
          <text class="title-desc HotPanel--title-desc sk-transparent sk-text-14-2857-722 sk-text"
            >最受欢迎
          </text>
        </view>
        <navigator class="cards HotPanel--cards" hover-class="none">
          <image :lazy-load="true" class="image HotPanel--image sk-image"></image>
          <image :lazy-load="true" class="image HotPanel--image sk-image"></image>
        </navigator>
      </view>
      <view class="item HotPanel--item">
        <view class="title HotPanel--title">
          <text class="title-text HotPanel--title-text sk-transparent sk-text-14-2857-870 sk-text"
            >一站买全
          </text>
          <text class="title-desc HotPanel--title-desc sk-transparent sk-text-14-2857-800 sk-text"
            >精心优选
          </text>
        </view>
        <navigator class="cards HotPanel--cards" hover-class="none">
          <image :lazy-load="true" class="image HotPanel--image sk-image"></image>
          <image :lazy-load="true" class="image HotPanel--image sk-image"></image>
        </navigator>
      </view>
      <view class="item HotPanel--item">
        <view class="title HotPanel--title">
          <text class="title-text HotPanel--title-text sk-transparent sk-text-14-2857-772 sk-text"
            >新鲜好物
          </text>
          <text class="title-desc HotPanel--title-desc sk-transparent sk-text-14-2857-662 sk-text"
            >生活加分项
          </text>
        </view>
        <navigator class="cards HotPanel--cards" hover-class="none">
          <image :lazy-load="true" class="image HotPanel--image sk-image"></image>
          <image :lazy-load="true" class="image HotPanel--image sk-image"></image>
        </navigator>
      </view>
    </view>
  </view>
  <view is="components/XtxGuess" class="r r">
    <view class="caption XtxGuess--caption">
      <text
        class="text XtxGuess--text sk-transparent sk-text-14-2857-470 sk-text sk-pseudo sk-pseudo-circle"
      >
        猜你喜欢
      </text>
    </view>
  </view>
</template>

<style lang="scss">
/* #ifdef H5 || APP-PLUS */
/* 引入骨架屏宽高样式 */
@import './style/CategoryPanel.scss';
@import './style/HotPanel.scss';
@import '@/components/style/XtxSwiper.scss';
@import '@/components/style/XtxGuess';
/* #endif */

.sk-transparent {
  color: transparent !important;
}

.sk-text-3-3333-181 {
  background-image: linear-gradient(
    transparent 3.3333%,
    #eeeeee 0%,
    #eeeeee 96.6667%,
    transparent 0%
  ) !important;
  background-size: 100% 27.1739rpx;
  position: relative !important;
}

.sk-text {
  background-origin: content-box !important;
  background-clip: content-box !important;
  background-color: transparent !important;
  color: transparent !important;
  background-repeat: repeat-y !important;
}

.sk-text-14-2857-341 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 38.0435rpx;
  position: relative !important;
}

.sk-text-14-2857-270 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 35.5072rpx;
  position: relative !important;
}

.sk-text-14-2857-641 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 35.5072rpx;
  position: relative !important;
}

.sk-text-14-2857-606 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 35.5072rpx;
  position: relative !important;
}

.sk-text-14-2857-814 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 35.5072rpx;
  position: relative !important;
}

.sk-text-14-2857-851 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 35.5072rpx;
  position: relative !important;
}

.sk-text-14-2857-43 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 35.5072rpx;
  position: relative !important;
}

.sk-text-14-2857-127 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 35.5072rpx;
  position: relative !important;
}

.sk-text-14-2857-378 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 35.5072rpx;
  position: relative !important;
}

.sk-text-14-2857-329 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 35.5072rpx;
  position: relative !important;
}

.sk-text-14-2857-445 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 35.5072rpx;
  position: relative !important;
}

.sk-text-14-2857-62 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 43.1159rpx;
  position: relative !important;
}

.sk-text-14-2857-921 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 32.971rpx;
  position: relative !important;
}

.sk-text-14-2857-860 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 43.1159rpx;
  position: relative !important;
}

.sk-text-14-2857-722 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 32.971rpx;
  position: relative !important;
}

.sk-text-14-2857-870 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 43.1159rpx;
  position: relative !important;
}

.sk-text-14-2857-800 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 32.971rpx;
  position: relative !important;
}

.sk-text-14-2857-772 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 43.1159rpx;
  position: relative !important;
}

.sk-text-14-2857-662 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 32.971rpx;
  position: relative !important;
}

.sk-text-14-2857-470 {
  background-image: linear-gradient(
    transparent 14.2857%,
    #eeeeee 0%,
    #eeeeee 85.7143%,
    transparent 0%
  ) !important;
  background-size: 100% 43.1159rpx;
  position: relative !important;
}

.sk-image {
  background: #efefef !important;
}

.sk-pseudo::before,
.sk-pseudo::after {
  background: #efefef !important;
  background-image: none !important;
  color: transparent !important;
  border-color: transparent !important;
}

.sk-pseudo-rect::before,
.sk-pseudo-rect::after {
  border-radius: 0 !important;
}

.sk-pseudo-circle::before,
.sk-pseudo-circle::after {
  border-radius: 50% !important;
}

.sk-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: transparent;
}
</style>
